package com.three.service;

import com.baor.baseUtil.R;
import com.three.domain.Attendance;
import com.three.domain.Businesstrips;
import com.three.domain.Dailylogs;
import com.three.domain.Leaves;

import java.util.Map;

public interface DailyLogsService {
//总端
    // 日常列表
    public R dailyLogsList(String keyword,Integer pageIndex, Integer pageSize,String date);
    // 出差列表
    public R businesstripsList(String keyword,Integer pageIndex, Integer pageSize,String date);
    // 请假列表
    public R leavesList(String keyword,Integer pageIndex, Integer pageSize,String date);
    // 考勤列表
    public R attendanceList(String keyword, Integer pageIndex, Integer pageSize,String date);
//教师端
//日志列表
    public R dailyLogsListByTeacher(Map<String,Object> map);
    //出差列表
    public R businesstripsListByTeacher(Map<String,Object> map);
    //请假列表
    public R leavesListByTeacher(Map<String,Object> map);
    //考勤列表
    public R attendanceListByTeacher(Map<String,Object> map);
    //添加日常
    public R addDailyLogs(Dailylogs dailylogs);
    //添加出差
    public R addBusinesstrips(Businesstrips businesstrips);
    //添加请假
    public R addLeaves(Leaves leaves);

    public R addAttendance(Attendance attendance);
}
